package cn.pro.entity;

import cn.pro.entity.qo.ProUserQuery;
import cn.pro.utils.Desc;
import lombok.*;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;




@Data
@Entity
@Builder
@NoArgsConstructor()
@AllArgsConstructor(access = AccessLevel.PACKAGE)
@Table ( name ="pro_access" )
public class ProAccess extends ProUserQuery implements Serializable{
private static final long serialVersionUID = 1L;

  @Column(name = "id" )
  @Id
  @Desc("权限id")
  private String id;

  @Column(name = "title" )
  @Desc("权限标题")
  private String title;

  @Column(name = "uris" )
  @Desc("权限路径")
  private String uris;

  @Column(name = "status" )
  @Desc("该记录是否有效1：有效、0：无效")
  private Integer status;

  @Column(name = "create_time" )
  @Desc("创建时间")
  private java.util.Date createTime;

  @Column(name = "update_time" )
  @Desc("更新时间")
  private java.util.Date updateTime;


public static  void main(String[] args){System.out.println(MapperGenerator.genMapper(ProAccess.class));}


}
